import http from './http.js'

export function reg(params) {
    return http.post('/user/reg', params)
}
//发送验证码
export function sendSms(params) {
    return http.post('/user/sendSms', params)
}







//注销账号
export function delete_user(params) {
    // {username,password}
    return http.post('/user/delete_user', params)
}

//  修改保存用户信息
export function setuserInfo(params){
    return http.post('/user/editUserInfo',params)
}